﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using DataReceive;
using System.Net;
using System.Net.Security;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;

public partial class show : System.Web.UI.Page
{
    private void Page_Load(object sender, System.EventArgs e)
    {
        // 在此处放置用户代码以初始化页面
        if (!IsPostBack)
        {
            string m = Request.QueryString["mg"];
            if (m == "00")
            {
                KQMsg Msg = new KQMsg();
                this.lblOK.Text = Msg.KuaiQianMsg["00"].ToString();
            }
            if (m == "C0")
            {
                this.lblOK.Text = "提交成功，交易处理进行中";
            }
        }
    }


    protected void btnClose_Click(object sender, EventArgs e)
    {
        Response.Write("<script language:javascript>javascript:window.opener=null;window.close();</script>");
    }

    protected void btnback_Click(object sender, EventArgs e)
    {
        if (KQHelper.mg == "00")
        {
            btnback.Enabled = false;
            this.lblOK.Text = "交易成功";
            KQHelper.mg = "";
        }
        else
        {
            if (KQHelper.mg == "C0")
            {
                this.lblOK.Visible = true;
                this.lblOK.Text = "提交成功，交易处理进行中";
            }
        }
    }
}
